package com.cskaoyan.app.bean.bo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@Data
public class WxResetBO{
	@Pattern(regexp = "1\\d{10}", message = "手机号格式不正确")
	private String mobile;
	@Length(min = 6, message = "密码至少六位")
	private String password;
	@NotEmpty(message = "验证码不能为空")
	private String code;
}